package cn.tedu.ems.studyvideo.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class Video {
    @ApiModelProperty(value = "文件id")
    Integer id;
    @ApiModelProperty(value = "文件标题")
    String title;
    String content;
    @ApiModelProperty(value = "文件类型")//2
    String type = "2";
    @ApiModelProperty(value = "文件id")//1,2
    Integer fileId;
    @ApiModelProperty(value = "废弃字段")//1,2
    String videoAddress;
    @ApiModelProperty(value = "文件状态")//禁用与否
    String state = "1";
    @ApiModelProperty(value = "浏览次数")//视频播放次数
    Integer views = 0;
    @ApiModelProperty(value = "上传者名称")
    String publisher;
    @ApiModelProperty(value = "文件分类id")//1,2,3,4,5
    String articleVideoCategoryId;
    @ApiModelProperty(value = "上传时间")
    Date createTime;
    @ApiModelProperty(value = "修改时间")
    Date updateTime;
    @ApiModelProperty(value = "删除时间")
    Date deleteTime;
}
